package com.me.crgame.core.actores;

import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;

public class MiInputListener extends InputListener {

	private ActorButton actor;
	public MiInputListener(ActorButton actor) {
		super();
		this.actor = actor;
	}

	@Override
	public boolean touchDown(InputEvent event, float x, float y,
			int pointer, int button) {
		return actor.touchDown(x, y, pointer);
	}

	@Override
	public void touchDragged(InputEvent event, float x, float y, int pointer) {
		actor.touchDragged(event, x, y, pointer);
	}

	@Override
	public void touchUp(InputEvent event, float x, float y, int pointer,
			int button) {
		actor.touchUp(event, x, y, pointer, button);
	}
}
